Skip to content

feat: adding support for multiqueue#650

Merged
wikkyk merged 6 commits into
ionos-cloud:mainfrom
drew-viles:network-multiqueue
May 15, 2026
Merged

feat: adding support for multiqueue#650
wikkyk merged 6 commits into
ionos-cloud:mainfrom
drew-viles:network-multiqueue

Conversation

@drew-viles
Copy link
Copy Markdown
Contributor

Issue #, if available:
#501

Description of changes:
Right now, users cannot add queues to the network NIC. With this PR, users will now be able to optionally supply a value into the CAPI provider to configure queues.

Testing performed:
Added tests for make test and ran with success. I'm currently trying to get access to a proxmox with shared storage as it appears to be required for this where as right now, I'm using local storage.

If you want to wait for that testing to be done on my side I totally get it! However, the change seems pretty straight forward on the whole so I'll let you make the call from your side.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 2, 2026

Tests

Please note that running unit and e2e tests requires manual approval from a team member.

e2e tests

We use labels to control which e2e tests contexts are run:

Label Behaviour
none Run Generic tests only
e2e/none skip all e2e tests (documentation etc) - overrides all e2e/* labels Do not run any e2e tests
e2e/flatcar run Flatcar e2e tests Add Flatcar tests

ℹ️ Ask a team member to add the requested labels if you don't have enough permissions.

@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented Mar 3, 2026

Nice and simple change but we'll hold it for now until after we have released 0.8.0 and v1alpha2.

Copy link
Copy Markdown
Collaborator

@wikkyk wikkyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please port this to v1alpha2!
Remember to update the tests with the correct type, too.

Comment thread api/v1alpha1/proxmoxmachine_types.go Outdated
Comment thread api/v1alpha1/proxmoxmachine_types.go Outdated
Comment thread internal/service/vmservice/utils.go Outdated
Comment thread internal/service/vmservice/utils.go Outdated
Comment thread internal/service/vmservice/utils.go Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 1, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
14 Security Hotspots
31.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@drew-viles
Copy link
Copy Markdown
Contributor Author

Sorry absolutely slammed atm, I will pick this up again asap though

@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented Apr 10, 2026

v0.8.0 has been released so we are reopening feature merges. Please port your PR to v1alpha2 and address my comments and we'll do another review. This is a good feature, I would really like it to go in.

@drew-viles
Copy link
Copy Markdown
Contributor Author

I'll looks at getting it done this weekend. Time has been not been on my side the past few weeks.

@drew-viles
Copy link
Copy Markdown
Contributor Author

ok, I think I've got everything covered, make test is working nicely again so let me know if you have any thoughts on this.

Comment thread api/v1alpha2/proxmoxmachine_types_test.go
Comment thread internal/service/vmservice/utils.go Outdated
Copy link
Copy Markdown
Collaborator

@wikkyk wikkyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please note the linter failures.

@drew-viles
Copy link
Copy Markdown
Contributor Author

ok, addressed those points. 🤞 Hopefully that's good to go now.

@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented May 11, 2026

Nice, I really like it now. As this is a new feature and I'm intending for v0.8.2 to be primarily a bugfix release, I'll formally approve and schedule this for merging into v0.8.3.

@drew-viles
Copy link
Copy Markdown
Contributor Author

drew-viles commented May 11, 2026

ooh that test is suggesting I need to hit make generate/make mockgen. I've done it locally but there are no changes. Am I missing something?

Edit:
Nevermind, make all did the trick ;-)

Thanks!

@drew-viles
Copy link
Copy Markdown
Contributor Author

I've just noticed all of my commits except the last one are unverified. I'm not sure why that happened tbh as I have signing on by default - something obviously got skipped when I did them 🤷 . If you want me to sign them all and re-push them let me know. Happy to do so!

@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented May 13, 2026

It's because I rebased your commits, so technically they're new commits which you haven't signed.
I'll squash this whole PR into one commit, anyway.

Also the plans for v0.8.2 have changed, merging this now pending test results.

@wikkyk wikkyk force-pushed the main branch 3 times, most recently from 89802a6 to d6fde2d Compare May 14, 2026 12:20
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 81%)

See analysis details on SonarQube Cloud

@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented May 15, 2026

Test coverage is lower than expected because the extractor is uncovered. (Actually, it just doesn't seem reachable but it is tested indirectly; were it not working, proxmoxmachine_types tests would fail.) I'm ok with this because of #653.

@wikkyk wikkyk merged commit 0a1a3f5 into ionos-cloud:main May 15, 2026
10 of 12 checks passed
@wikkyk
Copy link
Copy Markdown
Collaborator

wikkyk commented May 15, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants